package com.chris.core.socket.netty.dto;

import io.netty.util.AttributeKey;

import java.time.LocalDateTime;

public class NettyAttributeMapDTO {


    /**
     * 唯一标识
     */
    private String id="";
    /**
     * 类型
     */
    private String type="";
    /**
     * 标识名称
     */
   // private String name ="";
    /**
     * 记录时间
     */
  //  private LocalDateTime rsdate = LocalDateTime.now();

   public NettyAttributeMapDTO(String id)
   {
       this.id=id;
   }

    public NettyAttributeMapDTO(String id,String type)
    {
        this.id=id;
        this.type=type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
/*
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getRsdate() {
        return rsdate;
    }

    public void setRsdate(LocalDateTime rsdate) {
        this.rsdate = rsdate;
    }
*/
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
